package com.implementsystem.prestacontas.notaspagamento.entity;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "list"
})
@XmlRootElement(name = "rsp")
public class RespostaNotasPagamento {
	
	@XmlElement(name = "notas_pagamentos", required = true)
	private List<NotasPagamento> list;
	
	@XmlAttribute(name="status")
	private String status;
	
	public List<NotasPagamento> getList(){
		
		if (list == null) {
			list = new ArrayList<NotasPagamento>();
		}
		return list;
	}
	
	public void setList(List<NotasPagamento> list){
		this.list = list;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}
